<!--
  @author heguanghua
  @since 2020/05/11 19:49
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead >
    <tr>
        <th lay-data="{type:'checkbox', width:50, unresize:true, align:'center', fixed:'left'}"></th>
        <th lay-data="{field:'logId', width:80, unresize:true, align:'center', fixed:'left'}">日志ID</th>
        <th lay-data="{field:'changeType', width:100, unresize:true, align:'center', fixed:'left'}">操作类型</th>
        <th lay-data="{field:'beforContent',  unresize:true, align:'center'}">异动前信息</th>
        <th lay-data="{field:'afterContent',  unresize:true, align:'center'}">异动后信息</th>
        <th lay-data="{field:'ip',  unresize:true, align:'center'}">操作人IP</th>
        <th lay-data="{field:'abutmenterCity',  unresize:true, align:'center'}">操作人位置</th>
        <th lay-data="{field:'createTime',  unresize:true, align:'center'}">操作时间</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="item:${items}">
        <td></td>
        <td th:text="${item.logId}">logId</td>
        <td th:text="${T(com.zmn.mcc.common.constant.RoleChangeLogDict).getRoleChangeLogName(item.changeType)}">changeType</td>
        <td th:text="${item.beforContent}">beforContent</td>
        <td th:text="${item.afterContent}">afterContent</td>
        <td th:text="${item.ip+'/'+item.abutmenter}">ip</td>
        <td th:text="${item.abutmenterCity}">abutmenterCity</td>
        <td th:text="${T(com.zmn.common.utils.date.DateUtil).toString(item.createTime, 'yyyy-MM-dd HH:mm:ss')}">lastLoginTime</td>
    </tr>
    </tbody>
</table>
